﻿@model trangbaocao.Models.Main_Sort_DeviceModel
<div class="container_12">       
    <div class="grid_12">            
        <div class="module">
                <h2 align="right"><span><a href="@Url.Action("Index", "Main_Sort_Device")">Quay lại</a></span></h2>                        
                <div class="module-body">
                @using (Html.BeginForm("EditMain_Sort_Device", "Main_Sort_Device", FormMethod.Post, new { id = "EditMain_Sort_Device" }))
                {                      
                    <div align="center">
                        <h3>SỬA THÔNG TIN HỆ THÔNG VIỄN THÔNG </h3>
                        <div align="center"> 
                            <img src="@Url.Content("~/Content/Body/Images/Body_Images/Crystal_Clear_settings.gif")" width="12%" />
                        </div>
                    </div>
                    if (TempData["msg"] != null)
                    {                            
                        <span class="notification n-error">@TempData["msg"]</span>
                    }        
                    <p align="center">
                        <label style="width:26%; text-align:left;">Tên hệ thống:</label>
                        <div class="Main_Sort_Device" align="center" style="padding-left: 10px; width: 100%">
                        @Html.TextBoxFor(model => model.name, new { @name = "name", @class = "input-short" }) 
                        <font color="red">(*)</font>
                        <label style="width:28%; text-align:left;">@Html.ValidationMessageFor(model => model.name)     </label>
                        </div>                                             
                    </p>
                            
                    <p align="center">
                        <label style="width:26%; text-align:left;">Ghi chú:</label>
                        @Html.TextBoxFor(model => model.ghi_chu, new { @name = "ghi_chu", @class = "input-short" })
                    </p>
                    
                    <div class="button" align="center">
                        <p align="center" style="width:25%; text-align:left;">
                            <input class="submit-green" type="submit" value="Sửa" /> 
                            <input class="submit-gray" type="reset" value="Hủy" />
                            @*<input class="submit-gray" type="button"  onclick="location.href='@Url.Action("Index", "User")'" value="Quay lại" />*@
                        </p>   
                    </div>
                }
                </div> <!-- End .module-body -->
        </div>  <!-- End .module -->
        <div style="clear:both;"></div>
    </div> <!-- End .grid_12 --> 
    <div style="clear:both;"></div>
</div> <!-- End .container_12 -->